<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title>IVQRCodeNetConfig Class Reference</title>

	<link rel="stylesheet" href="../css/style.css">
	<meta name="viewport" content="initial-scale=1, maximum-scale=1.4">
	<meta name="generator" content="appledoc 2.2.1 (build 1334)">
</head>
<body class="appledoc">
	<header>
		<div class="container" class="hide-in-xcode">
			
			<h1 id="library-title">
				<a href="../index.html">IoTVideo </a>
			</h1>

			<p id="developer-home">
				<a href="../index.html">tencentcs</a>
			</p>
			
		</div>
	</header>

	<aside>
		<div class="container">
			<nav>
				<ul id="header-buttons" role="toolbar">
					<li><a href="../index.html">Index</a></li>
<li><a href="../hierarchy.html">Hierarchy</a></li>

					<li id="on-this-page" role="navigation">
						<label>
							On This Page

							<div class="chevron">
								<div class="chevy chevron-left"></div>
								<div class="chevy chevron-right"></div>
							</div>

							<select id="jump-to">
	<option value="top">Jump To&#133;</option>
	
	<option value="overview">Overview</option>
	

	
	
	<option value="tasks">Tasks</option>
	
	

	
	

	

	
	<optgroup label="Instance Methods">
		
		<option value="//api/name/createQRCodeWithWifiName:wifiPassword:language:token:extraInfo:QRSize:">- createQRCodeWithWifiName:wifiPassword:language:token:extraInfo:QRSize:</option>
		
		<option value="//api/name/createQRCodeWithWifiName:wifiPassword:reserve:language:token:extraInfo:QRSize:">- createQRCodeWithWifiName:wifiPassword:reserve:language:token:extraInfo:QRSize:</option>
		
		<option value="//api/name/createQRCodeWithWifiName:wifiPassword:token:">- createQRCodeWithWifiName:wifiPassword:token:</option>
		
	</optgroup>
	
	
</select>
						</label>
					</li>
				</ul>
			</nav>
		</div>
	</aside>

	<article>
		<div id="overview_contents" class="container">
			<div id="content">
				<main role="main">
					<h1 class="title">IVQRCodeNetConfig Class Reference</h1>

					
					<div class="section section-specification"><table cellspacing="0"><tbody>
						<tr>
	<th>Inherits from</th>
	<td>NSObject</td>
</tr><tr>
	<th>Declared in</th>
	<td>IVQRCodeNetConfig.h</td>
</tr>
						</tbody></table></div>
					

                    
					
					<div class="section section-overview">
						<a title="Overview" name="overview"></a>
						<h2 class="subtitle subtitle-overview">Overview</h2>
						<hr />

<p>内置二维码协议</p>

<p>数据类型 +  数据长度 + 数据 + 数据类型 + 数据长度  + &hellip;&hellip;</p>

<p>数据类型        数据长度        数据
string         string        string
type           len           data</p>

<hr />
					</div>
					
					

					
					
					<div class="section section-tasks">
						<a title="Tasks" name="tasks"></a>
						

						
						

						<div class="task-list">
							<div class="section-method">
	<a name="//api/name/createQRCodeWithWifiName:wifiPassword:token:" title="createQRCodeWithWifiName:wifiPassword:token:"></a>
	<h3 class="method-title"><code><a href="#//api/name/createQRCodeWithWifiName:wifiPassword:token:">&ndash;&nbsp;createQRCodeWithWifiName:wifiPassword:token:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>wifi名称</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (nullable UIImage *)createQRCodeWithWifiName:(NSString *)<em>name</em> wifiPassword:(NSString *)<em>pwd</em> token:(NSString *)<em>token</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>name</code></th>
						<td><p>wifi名称</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>pwd</code></th>
						<td><p>wifi密码</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>token</code></th>
						<td><p>配网token</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">IVQRCodeNetConfig.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/createQRCodeWithWifiName:wifiPassword:language:token:extraInfo:QRSize:" title="createQRCodeWithWifiName:wifiPassword:language:token:extraInfo:QRSize:"></a>
	<h3 class="method-title"><code><a href="#//api/name/createQRCodeWithWifiName:wifiPassword:language:token:extraInfo:QRSize:">&ndash;&nbsp;createQRCodeWithWifiName:wifiPassword:language:token:extraInfo:QRSize:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>类型   必选    说明
0      是    wifi-ssid
1      是    wifi密码
2      是    wifi安全/加密选项  无密码:0  WPA:2 SDK内部判断实现
3      否    平台保留
4      否    配网提示音语言类型
5      是    配网token,从IoT Video平台获取
6-9    否    平台扩展保留
A-Z    否    厂商自定义扩展 放入 extraInfo 中</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (nullable UIImage *)createQRCodeWithWifiName:(NSString *)<em>name</em> wifiPassword:(NSString *)<em>pwd</em> language:(IVNetConfigLanguage)<em>language</em> token:(NSString *)<em>token</em> extraInfo:(nullable NSDictionary&lt;NSString*,NSString*&gt; *)<em>extraInfo</em> QRSize:(CGSize)<em>size</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>name</code></th>
						<td><p>wifi SSID</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>pwd</code></th>
						<td><p>wifi密码</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>language</code></th>
						<td><p>设备语言</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>token</code></th>
						<td><p>配网Token，通过<a href="../Classes/IVNetConfig.html#//api/name/getToken:"><code>[IVNetConfig getToken:]</code></a>及<a href="../Classes/IVNetConfig.html#//api/name/getToken:callback:"><code>[IVNetConfig getToken:callback:]</code></a>获取</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>extraInfo</code></th>
						<td><p>额外自定义扩展信息</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>size</code></th>
						<td><p>二维码大小</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>二维码图片</p>
			</div>
			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">IVQRCodeNetConfig.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/createQRCodeWithWifiName:wifiPassword:reserve:language:token:extraInfo:QRSize:" title="createQRCodeWithWifiName:wifiPassword:reserve:language:token:extraInfo:QRSize:"></a>
	<h3 class="method-title"><code><a href="#//api/name/createQRCodeWithWifiName:wifiPassword:reserve:language:token:extraInfo:QRSize:">&ndash;&nbsp;createQRCodeWithWifiName:wifiPassword:reserve:language:token:extraInfo:QRSize:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>类型   必选    说明
0      是    wifi-ssid
1      是    wifi密码
2      是    wifi安全/加密选项  无密码:0  WPA:2 SDK内部判断实现
3      否    平台保留
4      否    配网提示音语言类型
5      是    配网token,从IoT Video平台获取
6-9    否    平台扩展保留
A-Z    否    厂商自定义扩展 放入 extraInfo 中</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (nullable UIImage *)createQRCodeWithWifiName:(NSString *)<em>name</em> wifiPassword:(NSString *)<em>pwd</em> reserve:(nullable NSString *)<em>reserve</em> language:(IVNetConfigLanguage)<em>language</em> token:(NSString *)<em>token</em> extraInfo:(nullable NSDictionary&lt;NSString*,NSString*&gt; *)<em>extraInfo</em> QRSize:(CGSize)<em>size</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>name</code></th>
						<td><p>wifi SSID</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>pwd</code></th>
						<td><p>wifi密码</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>reserve</code></th>
						<td><p>平台保留 厂商请使用上面的接口，或传nil</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>language</code></th>
						<td><p>设备语言</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>token</code></th>
						<td><p>配网Token，通过<a href="../Classes/IVNetConfig.html#//api/name/getToken:"><code>[IVNetConfig getToken:]</code></a>及<a href="../Classes/IVNetConfig.html#//api/name/getToken:callback:"><code>[IVNetConfig getToken:callback:]</code></a>获取</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>extraInfo</code></th>
						<td><p>额外自定义扩展信息</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>size</code></th>
						<td><p>二维码大小</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>二维码图片</p>
			</div>
			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">IVQRCodeNetConfig.h</code></p>
			</div>
			
			
		</div>
	</div>
</div>
						</div>
						
					</div>
					
					

                    
                    
          
				</main>

				<footer>
					<div class="footer-copyright">
						
						<p class="copyright">Copyright &copy; 2021 tencentcs. All rights reserved. Updated: 2021-07-22</p>
						
						
						<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
						
					</div>
				</footer>
			</div>
		</div>
	</article>

	<script src="../js/script.js"></script>
</body>
</html>